#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>

int main()
{
    int a = 0;
    scanf("%d", &a);
    printf("%d(m)=%d(h):%-2d(m)\n", a, a / 60, a%60);
    return 0;
}

int main() 
{ int num; 
  int a, b; 
  scanf("%d", & num); 
  a = num / 60; 
  b = num`;
	  printf("%d(m)=%d(h):%d(m)", num, a, b); }

int main()
{  int num;int a,b;
   scanf("%d", num);
   a=num/60;b=num`;
   printf("%d(m)=%d(h):%d(m)",num,a,b);
}

#include<stdio.h>
#include<math.h>
int main()
{
	float a, b;
	float c, d;
	scanf("%f,%f", &a, &b);
	scanf("%f,%f", &c, &d);
	printf("%.2f\n", sqrt((a - c) * (a - c) + (b - d) * (b - d)));
	return 0;
}